.class Limoblife/yogamoment/lite/PlayControl$10;
.super Ljava/lang/Object;
.source "PlayControl.java"

# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Limoblife/yogamoment/lite/PlayControl;->initHomePlaycheckBox()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Limoblife/yogamoment/lite/PlayControl;


# direct methods
.method constructor <init>(Limoblife/yogamoment/lite/PlayControl;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Limoblife/yogamoment/lite/PlayControl$10;->this$0:Limoblife/yogamoment/lite/PlayControl;

    .line 704
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCheckedChanged(Landroid/widget/CompoundButton;Z)V
    .locals 2
    .parameter "buttonView"
    .parameter "isChecked"

    .prologue
    .line 710
    if-eqz p2, :cond_1

    .line 712
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$10;->this$0:Limoblife/yogamoment/lite/PlayControl;

    #getter for: Limoblife/yogamoment/lite/PlayControl;->allItem:Ljava/util/Vector;
    invoke-static {v0}, Limoblife/yogamoment/lite/PlayControl;->access$8(Limoblife/yogamoment/lite/PlayControl;)Ljava/util/Vector;

    move-result-object v0

    iget-object v1, p0, Limoblife/yogamoment/lite/PlayControl$10;->this$0:Limoblife/yogamoment/lite/PlayControl;

    iget v1, v1, Limoblife/yogamoment/lite/PlayControl;->currentIndex:I

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Limoblife/yogamoment/lite/PlayControl$Item;

    iget-object v0, v0, Limoblife/yogamoment/lite/PlayControl$Item;->itemPlayCheckBox:Landroid/widget/CheckBox;

    .line 713
    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    if-nez v0, :cond_0

    .line 714
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$10;->this$0:Limoblife/yogamoment/lite/PlayControl;

    #getter for: Limoblife/yogamoment/lite/PlayControl;->allItem:Ljava/util/Vector;
    invoke-static {v0}, Limoblife/yogamoment/lite/PlayControl;->access$8(Limoblife/yogamoment/lite/PlayControl;)Ljava/util/Vector;

    move-result-object v0

    iget-object v1, p0, Limoblife/yogamoment/lite/PlayControl$10;->this$0:Limoblife/yogamoment/lite/PlayControl;

    iget v1, v1, Limoblife/yogamoment/lite/PlayControl;->currentIndex:I

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object p0

    .end local p0
    check-cast p0, Limoblife/yogamoment/lite/PlayControl$Item;

    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$Item;->itemPlayCheckBox:Landroid/widget/CheckBox;

    .line 715
    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 727
    :cond_0
    :goto_0
    return-void

    .line 719
    .restart local p0
    :cond_1
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$10;->this$0:Limoblife/yogamoment/lite/PlayControl;

    #getter for: Limoblife/yogamoment/lite/PlayControl;->allItem:Ljava/util/Vector;
    invoke-static {v0}, Limoblife/yogamoment/lite/PlayControl;->access$8(Limoblife/yogamoment/lite/PlayControl;)Ljava/util/Vector;

    move-result-object v0

    iget-object v1, p0, Limoblife/yogamoment/lite/PlayControl$10;->this$0:Limoblife/yogamoment/lite/PlayControl;

    iget v1, v1, Limoblife/yogamoment/lite/PlayControl;->currentIndex:I

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Limoblife/yogamoment/lite/PlayControl$Item;

    iget-object v0, v0, Limoblife/yogamoment/lite/PlayControl$Item;->itemPlayCheckBox:Landroid/widget/CheckBox;

    .line 720
    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 721
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$10;->this$0:Limoblife/yogamoment/lite/PlayControl;

    #getter for: Limoblife/yogamoment/lite/PlayControl;->allItem:Ljava/util/Vector;
    invoke-static {v0}, Limoblife/yogamoment/lite/PlayControl;->access$8(Limoblife/yogamoment/lite/PlayControl;)Ljava/util/Vector;

    move-result-object v0

    iget-object v1, p0, Limoblife/yogamoment/lite/PlayControl$10;->this$0:Limoblife/yogamoment/lite/PlayControl;

    iget v1, v1, Limoblife/yogamoment/lite/PlayControl;->currentIndex:I

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object p0

    .end local p0
    check-cast p0, Limoblife/yogamoment/lite/PlayControl$Item;

    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$Item;->itemPlayCheckBox:Landroid/widget/CheckBox;

    .line 722
    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setChecked(Z)V

    goto :goto_0
.end method
